<template>
  <div class="search-container">
    <div class="search-wrapper">
      <div class="icon" @click="searchList">
        <img class="icon_search" src="https://img.wifenxiao.com/h5-wfx/images/common/search-icon.png" />
      </div>
      <input @confirm="searchList" v-model="keyword" type="text" placeholder="收件人信息/订单编号/商品名称" />
    </div>  
  </div>
</template>

<script>
import Vue from 'vue'
export default Vue.extend({
  name: 'index',
  components: {},
  data() {
    return {
      keyword: ''
    }
  },
  methods: {
    searchList() {}
  }
})
</script>

<style lang="scss">
@import "../../../../../styles/mixin";
.search-container{
  padding:18px 40px;
  background:#fff;
  border-bottom:1px solid #f5f5f5;
}
.search-wrapper{
  position:relative;
  width: 100%;
  height: 66px;
  line-height: 66px;
  border-radius: 66px;
  font-size: 0;
  background: #f5f5f5;
  .icon {
    position:absolute;
    left:28px;
    color:#999999;
    font-size: 32px;
    margin-right: 10px;
    .icon_search{
      width:32px;
      height:32px;
    }
  }
  @include placeColor(#999);
  input {
    display: inline-block;
    width:100%;
    line-height: 40px;
    height: 40px;
    font-size: 28px;
    margin-top: 13px;
    padding:0 70px;
    border:0;
    background: transparent;
  }
}
</style>